import React from 'react';
import logo from './logo.svg';
import './App.css';

function App() {



  // 8.正确实现数组排序如[1,9,3,4]=>[1,3,4,9]
     const arr=[1,9,3,4]
    arr.sort((t1,t2)=>(t1-t2))
    console.log(arr);
    


    // 7.用ts语法声明一个枚举示例

    enum Class{
      red,
      blue,
      green
    }

    let a=Class.green;
    console.log(a);
    
  return (
 

    <div className="App">
      11154646
    </div>
  );
}

export default App;
